//
//  LoadingHelper.m
//  com.ruijin.RUIJIA
//
//  Created by Dlrj on 14-10-25.
//  Copyright (c) 2014年 apple. All rights reserved.
//

#import "LoadingHelper.h"
#import "MBProgressHUD.h"

@implementation LoadingHelper

+(void)showLoadingWithView:(UIView *)aView
{
    
    MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:aView animated:YES];
    hud.labelText = @"正在请求";
    //    hud.color = [UIColor redColor];
    hud.labelFont = [UIFont systemFontOfSize:16.0f];
}

+(void)hiddonLoadingWithView:(UIView *)aView
{
    [MBProgressHUD hideAllHUDsForView:aView animated:YES];
}

@end
